
import {request} from "@/api";
import type {AppointmentCounselor} from "@/api/teacher/params";
//获取可预约咨询师
function getAppointmentCounselor(params:AppointmentCounselor){
    return request({
        method: 'get',
        url: "/system/teacher/teacherAllList",
        params
    })
}
// 咨询师详情
function getTeacherDetail(id:string){
    return request({
        method: 'get',
        url: `/system/teacher/${id}`,
    })
}

export {getAppointmentCounselor,getTeacherDetail}